package com.wjk.kylin.mall.admin.beanmapper;

import com.wjk.kylin.mall.admin.entity.OauthClientEntity;
import com.wjk.kylin.mall.common.core.bo.admin.OAuth2ClientBO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * @Author: wangjinkui
 * @Date: 2021/11/14
 * @Description :
 */
@Mapper
public interface OauthClientEntityMapper {
    OauthClientEntityMapper INSTANCE = Mappers.getMapper(OauthClientEntityMapper.class);

    /**
     * entity to bo
     * @param entity
     * @return
     */
    OAuth2ClientBO entity2BO(OauthClientEntity entity);
}
